package com.example.im.service;

import com.example.im.model.Group;

import java.util.List;
import java.util.Set;

public interface GroupService {
    void createGroup(Group group);
    void joinGroup(String groupId,String user);
    Set<String> getGroupsByUser(String user);
    String getUsersExisted(String groupId);
    List<String> convertToList(String usersExisted);
    int countsInMember(String user);
    List<Group> getAllGroups();
}
